public class Message
{
	private MsgCommands subject;
	private String body;
	private String sender;
	private String recipent;
	
	public Message(MsgCommands cmd, String value)
	{
		this.subject=cmd;
		this.body=value;
	}
	
	public Message(MsgCommands cmd)
	{
		this.subject=cmd;
		body=null;
	}

	public MsgCommands getSubject() {
		return subject;
	}

	public String getBody() {
		return body;
	}

	public String getRecipent() {
		return recipent;
	}

	public void setRecipent(String recipent) {
		this.recipent = recipent;
	}

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}
}
